package com.woniuxy.service.impl;

import com.woniuxy.entity.User;
import com.woniuxy.service.RbacManagerService;

import java.util.List;

/**
 * @ClassName RbacManagerServiceImpl2
 * @Description TODO
 * @Author LI.hh
 * @Date 2022/8/22 15:00
 * @Version 1.0
 */
public class RbacManagerServiceImpl2 implements RbacManagerService {
    RbacManagerServiceImpl rbacManagerService;

    public RbacManagerServiceImpl getRbacManagerService() {
        return rbacManagerService;
    }

    public void setRbacManagerService(RbacManagerServiceImpl rbacManagerService) {
        this.rbacManagerService = rbacManagerService;
    }

    @Override
    public List<User> selectAll() {
        return rbacManagerService.selectAll();
    }

    @Override
    public void addUser(User user) {
        rbacManagerService.addUser(user);
    }

    @Override
    public void updateUser(User user) {
        rbacManagerService.updateUser(user);
    }

    @Override
    public void deleteUserById(int id) {
        rbacManagerService.deleteUserById(id);
    }
}
